﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;

namespace MDFGame
{
    //持续性效果事件包
    public class BuffPackage
    {
        public string FromCard { get; }//引发该事件的卡片名称
        public long CardUUID { get; }//引发该事件的卡片信息组件ID
        public int AffectTime { get; }//该buff生效时间
        public Action<object[]> action { get; }
        public BuffPackage(CardInfoComponent com, ICardEffect ice)
        {
            CardUUID = com.InstId;
            FromCard = com.CardBasicInfo.CardName;
            action = ice.Buff;
        }

    
    }
}
